<include file="Public:header" />
<div class="page-member subpage">
    <div class="form-header">
        <div>
            <div class="line1">
                <div class="fl"><h3>租金缴纳列表</h3></div>
                <div class="fr">
                    <form class="search-form" method="post" action="">
                        <span>查询条件:</span>
                        <select name="field">
                            <option value="house_no" <if condition="$filter.field eq 'house_no'">selected="selected"</if>>房源编号</option>
                            <option value="house_addr" <if condition="$filter.field eq 'house_addr'">selected="selected"</if>>房源地址</option>
                            <option value="payer" <if condition="$filter.field eq 'payer'">selected="selected"</if>>住户姓名</option>
                            <option value="community" <if condition="$filter.field eq 'community'">selected="selected"</if>>小区名称</option>
                        </select>
                        <input name="value" value="{$filter.value}" type="text" placeholder="输入关键字按回车" />
                        <input name="type" value="{$filter.type}" type="hidden" />
                        <input name="page" value="{$filter.page}" type="hidden" />
                        <input name="order_field" value="{$filter.order_field}" type="hidden" />
                        <input name="order_sort" value="{$filter.order_sort}" type="hidden" />
                        <input name="where" value="{$filter.where}" type="hidden" />
                        <button class="btn-normal" type="submit">查 询</button>
                    </form>
                </div>
            </div>
            <div class="line2">
                <div class="fl form-btn-group">
                    <button disabled="disabled" class="btn-create btn-disable">新 建</button>
                </div>
                <div class="fl form-btn-more">
                    <button class="btn-normal btn-more">更多操作<i class="drop-down"></i></button>
                </div>
                <div class="fr form-search-count">
                    <span class="offset">({$page.from}-{$page.to})</span>
                    <span class="total">共{$page.total}条</span>
                    <button onclick="PageJump({$page.prevPage});" class="btn-normal">上一页</button>
                    <button onclick="PageJump({$page.nextPage});" class="btn-normal">下一页</button>
                </div>
            </div>
        </div>
    </div>
    <div class="form-box">
        <table class="list">
            <thead>
                <tr>
                    <th><input id="select-all" type="checkbox" /></th>
                    <th class="list-header" field="name" sort="{$filter.order_sort}">
                        缴费编号<if condition="$filter.order_field eq 'name'"><i class="icon-{$filter.order_sort}"></i></if>
                    </th>
                    <th class="list-header" field="date1" sort="{$filter.order_sort}">
                        起始日期<if condition="$filter.order_field eq 'date1'"><i class="icon-{$filter.order_sort}"></i></if>
                    </th>
                    <th class="list-header" field="date2" sort="{$filter.order_sort}">
                        结束日期<if condition="$filter.order_field eq 'date2'"><i class="icon-{$filter.order_sort}"></i></if>
                    </th>
                    <th class="list-header" field="amount" sort="{$filter.order_sort}">
                        缴费金额<if condition="$filter.order_field eq 'amount'"><i class="icon-{$filter.order_sort}"></i></if>
                    </th>
                    <th class="list-header" field="house_addr" sort="{$filter.order_sort}">
                        房源<if condition="$filter.order_field eq 'house_addr'"><i class="icon-{$filter.order_sort}"></i></if>
                    </th>
                    <th class="list-header" field="payer" sort="{$filter.order_sort}">
                        缴费人<if condition="$filter.order_field eq 'payer'"><i class="icon-{$filter.order_sort}"></i></if>
                    </th>
                    <th class="list-header" field="pdate" sort="{$filter.order_sort}">
                        缴费日期<if condition="$filter.order_field eq 'pdate'"><i class="icon-{$filter.order_sort}"></i></if>
                    </th>
                    <th class="list-header" field="state" sort="{$filter.order_sort}">
                        缴费状态<if condition="$filter.order_field eq 'state'"><i class="icon-{$filter.order_sort}"></i></if>
                    </th>
                </tr>
            </thead>
            <tbody>
                <volist name="list" id="vo" key="index">
                    <tr class="payments-info" offset="{$vo.offset}" data-id="{$vo.id}">
                        <td class="checkbox-cell"><input class="checkbox" data-id="{$vo.id}" type="checkbox" /></td>
                        <td>{$vo.name}</td>
                        <td>{$vo.date1|default='-'}</td>
                        <td>{$vo.date2|default='-'}</td>
                        <td>{$vo.amount}</td>
                        <td>{$vo.house_addr}</td>
                        <td>{$vo.payer}</td>
                        <td>{$vo.pdate}</td>
                        <td>{$vo.state}</td>
                    </tr>
                </volist>
            </tbody>
        </table>
    </div>
</div>
<script src="__JS__/payments.js?v=0.1" type="text/javascript" ></script>
<include file="Public:footer" />

